﻿<!DOCTYPE html>
<html>
<head>
  <!--  <meta charset="utf-8" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
   -->
    <title>Hello World</title>
</head>
<body>
    <div class="app">
        <h1>
            Apache Cordova</h1>
        <div id="deviceready" class="blink">
            <p class="event listening">
                Connecting to Device</p>
            <p class="event received">
                Device is Ready</p>
        </div>
    </div>
    <script src="js/cordova.js" type="text/javascript"></script>
    <script type="text/javascript" src="js/index.js"></script>
    <script type="text/javascript">
        //  app.initialize();
        document.addEventListener("deviceready", onDeviceReady, false);
        function onDeviceReady() { document.addEventListener("menubutton", onMenuKeyDown, false); }
        function onMenuKeyDown() { alert("OKM"); }
        </script>
</body>
</html>
